﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/8/7 星期三 22:13:08
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.Enums;

namespace Sector7.Framework.EntityType
{
    /// <summary>
    /// 值域实体基类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class ValueDomainEntityBase : EntityBase
    {
        #region Accessor
        [DataMember]
        [DBField(DBFieldType.PrimaryKey)]
        public string Value { get; set; }

        [DataMember]
        [DBField]
        public string Implication { get; set; }

        [DataMember]
        [DBField]
        public string Description { get; set; }
        #endregion

        #region Public functions
        public override string ToString()
        {
            return Value;
        }
        #endregion
    }
}
